<ion-modal-view>
  <ion-header-bar>
    <div class="buttons">
      <button class="button button-clear button-positive" ng-click="closeDialog()">取消</button>
    </div>
    <h1 class="title">新的子计划</h1>
    <div class="buttons">
      <button class="button button-clear button-positive" ng-click="doSaveChildPlan()">完成</button>
    </div>

  </ion-header-bar>
  <ion-content>
    <form ng-submit="doSaveChildPlan()">
      <ion-list>
        <ion-item class="item item-divider"></ion-item>
        <ion-item class="item item-input">
          <span class="input-label">计划名称</span>
          <input type="text" ng-model="childPlan.name" placeholder="计划的标题">
        </ion-item>
        <ion-item class="item item-input">
          <span class="input-label">计划工时</span>
          <input type="number" ng-model="childPlan.hours" placeholder="计划所用时间">
        </ion-item>
        <ion-item class="item item-input item-stacked-label">
          <span class="input-label">计划内容</span>
          <textarea placeholder="计划的详细内容信息" rows="3" ng-model="childPlan.content"></textarea>
        </ion-item>
      </ion-list>
    </form>
  </ion-content>
</ion-modal-view>
